package com.example.uiclassassignments.tools;

import java.util.ArrayList;

public class ListViewItemData {
    public int order;
    public String date;
    public String money;
    ArrayList<ListViewItemData> mListViewData;
    private  ListViewItemData createListViewItemData(int order,String date, String money){
        ListViewItemData listViewItemData = new ListViewItemData();
        listViewItemData.order = order;
        listViewItemData.date = date;
        listViewItemData.money = money;
        return  listViewItemData;
    }
    protected void initData() {
        mListViewData = new ArrayList<ListViewItemData>();
        mListViewData.add(createListViewItemData(1,"1-01","10"));
        mListViewData.add(createListViewItemData(2,"1-10","13"));
        mListViewData.add(createListViewItemData(3,"1-13","15"));
        mListViewData.add(createListViewItemData(4,"1-16","16"));
    }
}

